﻿<%@ Page Language="c#" ContentType="text/html" ResponseEncoding="utf-8" Async="true" MasterPageFile="~/administration/list_private.master" Inherits="ACM.cmsarea08.Administration.Core.gesManutenzione" %>
<%@ MasterType VirtualPath="~/administration/master_private.master" %>

<asp:Content ID="PageBody" Runat="server" ContentPlaceHolderID="MasterBody">
  <script language="javascript" type="text/javascript" src="../template/js/_class.noobSlide.packed.js"></script>
  <h1><img src="../template/admimg/mod_big.jpg" alt="Modules Manager" />Manutenzione CMS</h1>
  

  <div style=" position:relative; height:550px; width:600px; margin:0px auto; overflow:hidden;">
     <p class="buttons" id="handles4" >
	    <span>Stato del Sistema</span>
    	<span>Operazioni Disponibili</span>
    </p> 
  <!-- blocco originale -->
  <div id="pannello" style="position:absolute;" >
    <div class="pann" style="display:block;float:left; width:600px; height:480px;">
      <div id="manutenzione">
        <div class="boxmanu" id="elock"><h3>Elementi Bloccati</h3>....</div>
        <div class="boxmanu"  id="sdir"><h3>Struttura delle Directory</h3>....</div>
        <div class="boxmanu"  id="syslog"><h3>Log di Sistema</h3>...</div>
      </div>
    </div>
    
    <div class="pann" style="display:block;float:left; width:600px; height:480px;">
      <div id="Dgruppi" style="clear:both;">Scegliere il tipo di manutenzione desiderata.
        <select id="manu_type" >
          <option value="-1" selected="selected">--</option>
          <option value="0">Backup</option>
          <option value="1">Restore</option>
          <option value="2">Check Versione</option>
        </select>
      </div>
      
      <div id="actionPane" class="manutenzione" >
        <h2 id="title_0">Backup</h2>
        <div id="corpo_0" class="corpoMn"> elenco delle cose da salvare.
          <table>
            <thead>
              <tr>
                <td colspan="4"><label for="selectall">Seleziona Tutto</label>
                  <input type="checkbox" value="" id="selectall" /></td>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td><input type="checkbox" value="cont" id="cx_cont" /></td>
                <td><label for="cx_cont">Contenuti</label></td>
                <td><input type="checkbox" value="mod" id="cx_mod" /></td>
                <td><label for="cx_mod">Moduli</label></td>
              </tr>
              <tr>
                <td><input type="checkbox" value="men" id="cx_men" /></td>
                <td><label for="cx_men">Menu</label></td>
                <td><input type="checkbox" value="bv" id="cx_bv" /></td>
                <td><label for="cx_bv">Blocchi Visivi</label></td>
              </tr>
              <tr>
                <td><input type="checkbox" value="tt" id="cx_tt" /></td>
                <td><label for="cx_tt">Template</label></td>
                <td><input type="checkbox" value="tf" id="cx_tf" /></td>
                <td><label for="cx_tf">File Template Corrente</label></td>
              </tr>
              <tr>
                <td><input type="checkbox" value="uu" id="cx_uu" /></td>
                <td><label for="cx_uu">Utenti</label></td>
                <td><input type="checkbox" value="rr" id="cx_rr" /></td>
                <td><label for="cx_cc">Ruoli</label></td>
              </tr>
              <tr>
                <td><input type="checkbox" value="rm" id="cx_rm" /></td>
                <td><label for="cx_rm">Impostazioni Menu</label></td>
                <td><input type="checkbox" value="rc" id="cx_rc" /></td>
                <td><label for="cx_rc">Permessi Contenuti</label></td>
              </tr>
              <tr>
                <td><input type="checkbox" value="pp" id="cx_pp" /></td>
                <td><label for="cx_pp">Plugins</label></td>
                <td><input type="checkbox" value="pf" id="cx_pf" /></td>
                <td><label for="cx_pf">Plugins Files</label></td>
              </tr>
              <tr>
                <td><input type="checkbox" value="cc" id="cx_cc" /></td>
                <td><label for="cx_cc">Configurazione</label></td>
                <td><input type="checkbox" value="all" id="cx_all" /></td>
                <td><label for="cx_all">Database [ogni tabella non standard]</label></td>
              </tr>
            </tbody>
          </table>
          <br />
          Compressione:
          <p id="compressione">
            <label>
            <input type="radio" name="compre" value="1" id="compre_1" />
            Zip</label>
            <br />
            <label>
            <input type="radio" name="compre" value="2" id="compre_2" />
            Nessuna</label>
            <br />
          </p>
          <input type="button" value="make backup" id="save_corpo0" />
        </div>
        <h2 id="title_1">Restore</h2>
        <div id="corpo_1"  class="corpoMn"> Assegna il file per ripristinare il cms:
          <input type="file" />
          <br/>
          Attenzione: il file pu&ograve; essere compresso in rar o zip, ma deve essere stato generato attraverso l'utility di backup di Joack; </div>
        <h2 id="title_2">Check Version</h2>
        <div id="corpo_2"  class="corpoMn"> Current Version ...
          Assembly Version .... <br/>
          Main Server Version : ....
          Assembly Version : .... <br />
          Do you wanna upgrade?<br/>
        </div>
      </div>
    </div>
  </div>

</div>
  <script language="javascript" src="/administration/template/js/manutenzione.js" ></script>
  <style type="text/css">
<!--
@import url("/administration/template/css/gestione_menu.css");
-->
</style>
  <script language="javascript" type="text/javascript">
	window.addEvent('domready', function() {
		//VERIFICA delle 
		//elock - elementi bloccati..

		LoadLockedItems.delay(500);
		LoadFilesInfo.delay(500);
		getLogList.delay(500);				

		var gestoreMan = new Manutenzione({handler:'/administration/core/xml_server.asmx'});
		
		
		var nS4 = new noobSlide({
			box: $('pannello'),
			items: $$('#pannello div.pann'),
			size: 600,
			handles: $$('#handles4 span'),
			onWalk: function(currentItem,currentHandle){
				this.handles.removeClass('active');
				currentHandle.addClass('active');
				
			}
		});
		
	});
</script>
</asp:content>
